package gui;
import java.awt.*;

import javax.swing.*;

public class MainFrame extends JFrame {

	Menu menu;
	HTMLarea html;
	
	MainFrame()
	{
		super("Title of document");
		Container cp=getContentPane();
		//cp.setLayout(new BoxLayout(cp,BoxLayout.Y_AXIS));
		
		setLayout(new BorderLayout());
		setSize(700,500);
		this.setMinimumSize(new Dimension(300,100));
		this.addWindowListener(new CloseWindow());
		
		menu=new Menu();
		html=new HTMLarea();
		
		cp.add(menu,BorderLayout.NORTH);
		cp.add(html,BorderLayout.CENTER);
		
		this.setVisible(true);
	}
}
